Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Apr 3, 2025

Fixes #45114

Add a new day one interactive tutorial to explore how you create types in C#. This tutorial focuses on tuples and records, as the simplest data container types in C#. This is meant to be a day 1 exploration, so this tutorial assumes the reader hasn't acquired the SDK or other tools yet.

More types will be explored in tutorials in the "Fundamentals" section, when readers are assumed to have installed necessary tools.


Internal previews

📄 File 🔗 Preview link
docs/csharp/toc.yml Taken from https://github.com/dotnet/roslyn/wiki/Samples-and-Walkthroughs
docs/csharp/tour-of-csharp/tutorials/index.md Interactive tutorials
docs/csharp/tour-of-csharp/tutorials/numbers-in-csharp.md How to use integer and floating point numbers in C#
docs/csharp/tour-of-csharp/tutorials/tuples-and-types.md docs/csharp/tour-of-csharp/tutorials/tuples-and-types

The code is written in snippets, and not using
the interactive window yet.
Use the class type, and declare a `Main` method.
Proofread, content and data check.
@BillWagner BillWagner requested review from IEvangelist and adegeo April 3, 2025 20:08
@BillWagner BillWagner marked this pull request as ready for review April 3, 2025 20:11
@BillWagner BillWagner requested a review from a team as a code owner April 3, 2025 20:11
Co-authored-by: Genevieve Warren <[email protected]>
@BillWagner BillWagner enabled auto-merge (squash) April 8, 2025 13:58
@BillWagner BillWagner merged commit 230b648 into dotnet:main Apr 8, 2025
8 checks passed
@BillWagner BillWagner deleted the day-one-types branch April 8, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Everyday C#] Add a tuples & types tutorial

2 participants